So here is my findings. Maybe someone can give me a hint
Applying any styleSheet on Android shifts Z-order of QMessageBox which makes its buttons unclickable
Here what is going on:
//setting styleSheet to any widget breaks interactivity on Android
setStyleSheet("QPushButton { }");
QMessageBox::information(this,"Check the message", "Is it clickable?" );
//it is not clickable on Android
But if we manually set Z-order to the message this message becomes clickable. But further ones ARE NOT
setStyleSheet("QPushButton { }"); //applying styleSheet
QMessageBox msgBox;
msgBox.setText("StyleSheet is set. Z-order fixed");
//set stayOnTop flag and it becomes clickable
msgBox.setWindowFlags(Qt::Dialog | Qt::WindowStaysOnTopHint);
msgBox.exec();
//Next message is unclickable
QMessageBox::information(this,"Check next message",
"Is it clickable?" ); //No it is not clickable
How to restore correct Z-order for all of my windows and messages after apllying a styleSheet in Android?